package com.gwl.concurrent.syncblock;

public class SyncBlockPairManager extends PairManager {

	@Override
	protected void increment() { 
		Pair temp; 
		synchronized(this) { 
			pair.incrementX(); 
			pair.incrementY(); 
			temp = getPair();  
		} 
		store(temp); 
	}

}
